#ifndef __PULL_STREAM_H
#define __PULL_STREAM_H
#include <string>
#include "stream/rtc_stream.h"
namespace xrtc
{

    class PullStream : public RtcStream
    {
    public:
        PullStream(EventLoop *el, PortAllocator *alloctor, uint64_t uid, const std::string &stream_name,
                   bool audio, bool video, uint32_t log_id);
        ~PullStream() override;
        std::string create_offer() override;
        RtcStreamType stream_type() { return RtcStreamType::k_pull; }
        void add_audio_source(std::vector<StreamParams> &source);
        void add_video_source(std::vector<StreamParams> &source);
    };

} // namespace xrtc

#endif